<html>
  <head>
    <title>Add a source - YouTube TV</title>
  </head>
  <body>
    <h1>YouTube TV Station Manager</h1>
    <p>Welcome, {{nickname}}! (<a href="{{logout_url}}">Log out</a>)</p>
    <p>{{message}}</p>
    <form action="stations" method="GET">
      Enter the details for the new source for station "{{station_label}}".<br>
      <input type="hidden" name="action" value="add-source">
      <input type="hidden" name="station" value="{{station_id}}">
      Type:<select name="type">
        <option value="channel">Channel</option>
        <option value="playlist">Playlist</option>
        <option value="category">Category</option>
        <option value="search">Search query</option>
      </select><br>
      Source:<input type="text" name="source" value=""><p>
      <input type="submit" Value="Add">
    </form>
    <br><br>
    Notes:<br>
    Channel takes a YT channel name.<br>
    Playlist takes a hex playlist id (eg. E927127A658A83B4).<br>
    Category is a "standard feeds" category.<br>
    Feed is a GData feed URL.<br>
    Search query is self-explanatory.
  </body>
</html>
